package com.cap.bts.crmdp.dealer.meal.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cap.bts.framework.common.domain.BaseDomain;

@Entity
@Table(name = "tm_raw_package_dealer_select")
@AttributeOverrides({
                     @AttributeOverride(name = "createBy", column = @Column(name = "CREATE_BY")),
                     @AttributeOverride(name = "createDate", column = @Column(name = "CREATE_DATE", nullable = false)),
                     @AttributeOverride(name = "lastUpdateBy", column = @Column(name = "LAST_UPDATE_BY")),
                     @AttributeOverride(name = "lastUpdateDate", column = @Column(name = "LAST_UPDATE_DATE")) })
public class PackageEligibilityModel extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 8992485389224183898L;

    private Long              id;

    private Long              packageDefId;

    private String            dealerProperty;

    private String            propertyValue;

    private String            codeType;

    /** 
     * Getter method for property <tt>id</tt>. 
     * @return property value of id 
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    public Long getId() {
        return id;
    }

    /** 
     * Setter method for property <tt>id</tt>. 
     * @param id value to be assigned to property id 
     */

    public void setId(Long id) {
        this.id = id;
    }

    /** 
     * Getter method for property <tt>packageDefId</tt>. 
     * @return property value of packageDefId 
     */
    @Column(name = "Package_def_id")
    public Long getPackageDefId() {
        return packageDefId;
    }

    /** 
     * Setter method for property <tt>packageDefId</tt>. 
     * @param packageDefId value to be assigned to property packageDefId 
     */

    public void setPackageDefId(Long packageDefId) {
        this.packageDefId = packageDefId;
    }

    /** 
     * Getter method for property <tt>dealerProperty</tt>. 
     * @return property value of dealerProperty 
     */
    @Column(name = "Dealer_property")
    public String getDealerProperty() {
        return dealerProperty;
    }

    /** 
     * Setter method for property <tt>dealerProperty</tt>. 
     * @param dealerProperty value to be assigned to property dealerProperty 
     */

    public void setDealerProperty(String dealerProperty) {
        this.dealerProperty = dealerProperty;
    }

    /** 
     * Getter method for property <tt>propertyValue</tt>. 
     * @return property value of propertyValue 
     */
    @Column(name = "Property_value")
    public String getPropertyValue() {
        return propertyValue;
    }

    /** 
     * Setter method for property <tt>propertyValue</tt>. 
     * @param propertyValue value to be assigned to property propertyValue 
     */

    public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }

    /** 
     * Getter method for property <tt>codeType</tt>. 
     * @return property value of codeType 
     */
    @Column(name = "CODE_TYPE")
    public String getCodeType() {
        return codeType;
    }

    /** 
     * Setter method for property <tt>codeType</tt>. 
     * @param codeType value to be assigned to property codeType 
     */

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

}
